PostgreSQL Hybrid Search Course – Keyword (BM25) + Vector Retrieval

sql
youtube
PostgreSQL Hybrid Search Course – Keyword (BM25) + Vector Retrieval Learn how to build a complete Wikipedia search engine entirely within PostgreSQL using BM25 keyword matching, vector embeddings, and reciprocal rank fusion. This step-by-step course covers setting up `pg_textsearch` and `pgvector-scale`, analyzing query plans, tuning hybrid weights, and serving results through a FastAPI backend. By keeping your data, keyword indexes, and vectors inside a single database, you eliminate complex synchronization pipelines and unlock fast, transactional search. Code: Course created by @beau Try Tiger Data Cloud: Chapters - 00:00 Introduction & Project Overview - 04:06 Matching vs. Ranking & PostgreSQL Text Search - 07:20 Understanding BM25 (IDF, Term Frequency, & Document Length) - 11:39 Setting Up Tiger Data Cloud & PostgreSQL - 14:06 Environment Setup & Enabling Database Extensions - 15:43 Loading Wikipedia Dataset & Schema Setup - 20:30 Native PostgreSQL Full-Text Search Baseline - 24:38 Analyzing Query Plans with EXPLAIN ANALYZE - 27:40 Implementing BM25 Keyword Search with pg_textsearch - 32:32 Building the Keyword Search Query & Highlighting (TS_HEADLINE) - 36:18 Boolean Conditions & Phrase Search - 37:32 Semantic Search Fundamentals & Generating Embeddings - 41:33 Vector Indexing with pgvector-scale - 43:28 Reciprocal Rank Fusion (RRF) for Hybrid Search - 46:58 Query Plan Analysis for Hybrid Search - 49:12 Comparing Keyword, Semantic, and Hybrid Results - 52:13 Connecting the FastAPI Backend & Connection Pooling - 54:06 Testing the W
  2026/10/21      youtube

関連するプログラミング動画 [sql]

Our Tag

最近投稿されたプログラミング学習動画

PostgreSQL Hybrid Search Course – Keyword (BM25) + Vector Retrieval

sql

Learn how to build a complete Wikipedia ...

  2026/10/21

How To Design The Perfect Auth System In The Age of AI

Design

Permissions are at the core of nearly ev...

  2026/10/20

Modern Web Guidance in your AI workflow: Modal dialog transitions

Learn how to create smooth, native entry...

  2026/10/20

AWS Transform for Amazon MSK migration | Amazon Web Services

Amazon

This seven-minute video introduces AWS T...

  2026/10/19

97: Invokers and commands

In this episode of The CSS Podcast, we'r...

  2026/10/19

Break down your AWS bill by service in Cost Explorer

Amazon

AWS Cost Explorer gives you a visual bre...

  2026/10/19

Answering your questions about WebMCP

The web is evolving as users increasingl...

  2026/10/19

AWS Startups: Made in Paris, powered by AWS | Amazon Web Services

Amazon

A growing ecosystem. Density of talent. ...

  2026/10/19

VRAM Explained What Decides If a Model Fits

Can your machine run that AI model? It c...

  2026/10/19

Build an AI That Turns Your Voice Into Images, Video and Audio (Python

python

Get started with OpenRouter here: Spea...

  2026/10/18

Explaining Pujo to a Non Bengali Friend ❤️✨

Endless adda, delicious bhog & festive f...

  2026/10/18

Why You Can’t Run That AI Model

Why can't you run an AI model even when ...

  2026/10/18

【必見】周りと差がつくAIの使い方!最新のAIエージェント最強環境は「T3 Code」を徹底解説します

本日は最新AIエージェント最強環境「T3 Code」についてお話させて頂きました...

  2026/10/18

Google Search ke AI Mode ke saath banaiye India ke Top 1% mein jagah!

Google

QR code scan karein, quiz kheliye aur ga...

  2026/10/18